package com.teradata.bigdata.iop.controller;

import com.teradata.bigdata.iop.common.R;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Project:
 * @Description:
 * @Version 1.0.0
 * @Throws SystemException:
 * @Author: <li>2019/9/25/025 Administrator Create 1.0
 * @Copyright ©2018-2019 al.github
 * @Modified By:
 */
@Slf4j
@RestController
@RequestMapping("/iop")
@AllArgsConstructor
public class DoWorkController extends BaseController {

    @RequestMapping("hello")
    public R hello(){
        return R.ok().put("data","hello");
    }
}
